require('./ustil/quersit')
require('./ustil/utis')
require('./css/style.less')
const axios = require("axios")
const img = require('./img/21.jpg')


axios.post('http://www.baidu.con/api.a')
.then(res => {
    console.log(res.data)
})


console.log('这是一个图片的地址',img)
function sun(a,b){
    return (a+b)
} 
console.log(1,2)
console.log(sun(1,2))

class Person{
    constructor(name){
        this.name = name
    }
}
let xm = new Person("小明")
console.log(xm)

const random = () =>'#'+Math.random().toString(16).slice(2,8)

timer=setInterval(() => {
    document.querySelector('h1').style.background = random()
    document.querySelector('body').style.background = random()
}, 10);



